package com.gopay.common.domain.bank;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

import com.gopay.common.domain.BaseEntity;

/**
 * 银行账户及金融机构标识实体类
 *
 * @author lynn
 * @data
 */
@Entity
@Table(name = "BANK_ACCT_FINANCIAL_INFO")
public class BankAcctFinancialInfo extends BaseEntity{
	
    /**
	 * 
	 */
	private static final long serialVersionUID = -6467201445714474402L;
	
	@Id
    @SequenceGenerator(name = "bankAcctFinancialInfoSeq", sequenceName = "BANK_ACCT_FINANCIAL_INFO_SEQ" ,allocationSize=1)
    @GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "bankAcctFinancialInfoSeq")
    @Column(name = "ID", unique = true, nullable = false)
    private Long id;
	
	@Column(name = "BANK_CODE")
	private String bankCode;
	
	@Column(name = "BANK_ACCT")
	private String bankAcct;
	 
	@Column(name = "BANK_ACCT_NAME")
	private String bankAcctName;
	
	@Column(name = "NCC_FINANCIAL_INST_CODE")
	private String nccFinancialInstCode;
	
	@Column(name = "IS_ENABLE")
	private String isEnable;
	
	@Column(name = "IS_DEL")
	private String isDel;
	
	@Column(name = "CREATED_TS")
	@Temporal(TemporalType.TIMESTAMP)
	private Date createdTs;
	
	@Column(name = "UPDATED_TS")
    @Temporal(TemporalType.TIMESTAMP)
    private Date updatedTs;
	
	@Column(name = "REMARK1")
	private String remark1;
	
	@Column(name = "REMARK2")
	private String remark2;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getBankCode() {
		return bankCode;
	}

	public void setBankCode(String bankCode) {
		this.bankCode = bankCode;
	}

	public String getBankAcct() {
		return bankAcct;
	}

	public void setBankAcct(String bankAcct) {
		this.bankAcct = bankAcct;
	}

	public String getBankAcctName() {
		return bankAcctName;
	}

	public void setBankAcctName(String bankAcctName) {
		this.bankAcctName = bankAcctName;
	}

	public String getNccFinancialInstCode() {
		return nccFinancialInstCode;
	}

	public void setNccFinancialInstCode(String nccFinancialInstCode) {
		this.nccFinancialInstCode = nccFinancialInstCode;
	}

	public String getIsEnable() {
		return isEnable;
	}

	public void setIsEnable(String isEnable) {
		this.isEnable = isEnable;
	}

	public String getIsDel() {
		return isDel;
	}

	public void setIsDel(String isDel) {
		this.isDel = isDel;
	}

	public Date getCreatedTs() {
		return createdTs;
	}

	public void setCreatedTs(Date createdTs) {
		this.createdTs = createdTs;
	}

	public Date getUpdatedTs() {
		return updatedTs;
	}

	public void setUpdatedTs(Date updatedTs) {
		this.updatedTs = updatedTs;
	}

	public String getRemark1() {
		return remark1;
	}

	public void setRemark1(String remark1) {
		this.remark1 = remark1;
	}

	public String getRemark2() {
		return remark2;
	}

	public void setRemark2(String remark2) {
		this.remark2 = remark2;
	}
	
 
}
